#define _CRT_SECURE_NO_WARNINGS 1
string replaceSpace(string s) {
    // write code here
    string s1 = "";
    for (int i = 0; i < s.size(); i++)
    {
        if (s[i] == ' ')
        {
            s1 += "%20";
        }
        else
        {
            s1 += s[i];
        }
    }
    return s1;
}